
//Copyright 1997-2009 Syrinx Development, Inc.
//This file is part of the Syrinx Web Application Framework (SWAF).
// == BEGIN LICENSE ==
//
// Licensed under the terms of any of the following licenses at your
// choice:
//
//  - GNU General Public License Version 3 or later (the "GPL")
//    http://www.gnu.org/licenses/gpl.html
//
//  - GNU Lesser General Public License Version 3 or later (the "LGPL")
//    http://www.gnu.org/licenses/lgpl.html
//
//  - Mozilla Public License Version 1.1 or later (the "MPL")
//    http://www.mozilla.org/MPL/MPL-1.1.html
//
// == END LICENSE ==
using System;

namespace Swaf.Messaging
{
	/// <summary>
	/// Summary description for IMessagingConnectionInfo.
	/// </summary>
	public interface IMessagingConnectionInfo : ICloneable
	{
		string UniqueId {get;}
		bool ReadToEnd {get;set;}
		bool OutputOnly {get;set;}
		int ListenerStartDelay {get;set;}
		string DestinationQueueName {get;set;}
		string ScheduleInterval {get;set;}
		int MaxThreads {get;set;}
		int MinThreads {get;set;}
		int MaxReadMilliseconds {get;set;}
		int MaxReadCount {get;set;}
		int MaxIdleMilliseconds {get;set;}
		string QueueName {get;set;}
		string Type {get;set;}
		string HandlerName {get;set;}
		string HandlerMethod {get;set;}
		string HostName {get;set;}
		string Channel {get;set;}
		int Port {get;set;}
		string QueueManager {get;set;}
		int MaxDepth {get;set;}
		int Depth {get;set;}
		bool Create {get;set;}
		bool ClusterQueue {get;set;}
		string PublisherName {get;set;}
		string SubscriberName {get;set;}
		bool Open {get;set;}
		bool Persistent {get;set;}
		string Message {get;set;}
		string CorrelationID {get;set;}
		string RetryQueueName {get;set;}
		int RetryCountBeforeAbort {get;set;}
		int RetryInterval {get;set;}
		string MessagingSystemId {get;set;}

		string Xml {get;}

		IMessagingConnection createConnection();
	}
}
